<?php
//写类的时间，用不用构造函数都写上
class Demo
{
	public function __construct()
	{
		echo 11;
	}
	public function Demo()
	{
		echo 33;
	}
	public function __destruct()
	{
		echo 88;
	}
}
$obj =new Demo;
unset($obj);
echo '-------';






